package com.ruoyi.exampaper.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试卷列表对象 t_exam_paper
 * 
 * @author ruoyi
 * @date 2023-06-25
 */
public class ExamPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 试卷名称 */
    @Excel(name = "试卷名称")
    private String name;

    /** 试卷类型 */
    @Excel(name = "试卷类型")
    private Long paperType;

    /** 试卷总分 */
    @Excel(name = "试卷总分")
    private Long score;

    /** 题目数量 */
    @Excel(name = "题目数量")
    private Long questionCount;

    /** 试卷时长(分钟) */
    @Excel(name = "试卷时长(分钟)")
    private Long finishTime;

    /** 时段试卷 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时段试卷 开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date limitStartTime;

    /** 时段试卷 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时段试卷 结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date limitEndTime;

    /** 试卷内容 */
    private Long frameTextContentId;

    /** 是否删除 0.未删除 1.删除 */
    private Long deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPaperType(Long paperType) 
    {
        this.paperType = paperType;
    }

    public Long getPaperType() 
    {
        return paperType;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setQuestionCount(Long questionCount) 
    {
        this.questionCount = questionCount;
    }

    public Long getQuestionCount() 
    {
        return questionCount;
    }
    public void setFinishTime(Long finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Long getFinishTime() 
    {
        return finishTime;
    }
    public void setLimitStartTime(Date limitStartTime) 
    {
        this.limitStartTime = limitStartTime;
    }

    public Date getLimitStartTime() 
    {
        return limitStartTime;
    }
    public void setLimitEndTime(Date limitEndTime) 
    {
        this.limitEndTime = limitEndTime;
    }

    public Date getLimitEndTime() 
    {
        return limitEndTime;
    }
    public void setFrameTextContentId(Long frameTextContentId) 
    {
        this.frameTextContentId = frameTextContentId;
    }

    public Long getFrameTextContentId() 
    {
        return frameTextContentId;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("paperType", getPaperType())
            .append("score", getScore())
            .append("questionCount", getQuestionCount())
            .append("finishTime", getFinishTime())
            .append("limitStartTime", getLimitStartTime())
            .append("limitEndTime", getLimitEndTime())
            .append("frameTextContentId", getFrameTextContentId())
            .append("createTime", getCreateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
